package com.site.wisdom_construction.entity.userAuthorityModule;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description  
 * @Author  DYF
 * @Date 2021-12-28 
 */
@ApiModel (value ="项目模块对应表实体类", description = "ProjectRole")
public class ProjectRole {
	/**
	 * 用户权限映射表id
	 */
   	@ApiModelProperty(value = "用户权限映射表id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
   	@ApiModelProperty(value = "项目id", name = "projectId")
	private Integer projectId;

	/**
	 * 权限id
	 */
   	@ApiModelProperty(value = "权限id", name = "roleId")
	private Integer roleId;

	/** 种类 */
	@ApiModelProperty(value = "种类", name = "roleCategory")
	private String roleCategory;

	public ProjectRole(){ super(); }

	public ProjectRole(Integer id, Integer projectId, Integer roleId, String roleCategory) {
		this.id = id;
		this.projectId = projectId;
		this.roleId = roleId;
		this.roleCategory = roleCategory;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public String getRoleCategory() {
		return roleCategory;
	}

	public void setRoleCategory(String roleCategory) {
		this.roleCategory = roleCategory;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", roleId=" + roleId +
				", roleCategory='" + roleCategory + '\'' +
				'}';
	}
}
